home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / CC_C / 1116.ZIP / TOOLKIT.ARC / WINDOW.H < prev   
Text File  |  1979-12-31  |  600b  |  18 lines

  1.  
  2. /*
  3.    WINDOW.H  written by Wayne Pearson
  4.    This Small C header file uses the ROM BIOS to make a window.
  5.    Four integers are passed:  topy/topx = top left row/column.
  6.                               boty/botx = bottom right row/column.
  7.    int10(ah,al,bh,bl,ch,cl,dh,dl)  is a function in CPCLIB.
  8. */
  9.  
  10. window(topy,topx,boty,botx)
  11.                              int topy,topx,boty,botx;
  12.                            {
  13.                              int10(6,0,112,0,topy,topx,boty,botx);
  14.                              int10(6,0,7,0,topy+1,topx+1,boty-1,botx-1);
  15.                            }
  16.  
  17.  
  18.